﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Dimebrain.TweetSharp.Model.Twitter
{
    [JsonObject(MemberSerialization.OptIn)]
    public class TwitterSearchTrends
    {
        [JsonProperty("as_of", IsRequired = true)]
#if !Smartphone
        [DataMember]
#endif
        public long SearchDate { get; set; }

        [JsonProperty("trends", IsRequired = true)]
#if !Smartphone
        [DataMember]
#endif
        public List<TwitterSearchTrend> Trends { get; set; }
    }
}
